package com.waimai.db.entity;

import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Paymode entity. @author MyEclipse Persistence Tools
 */
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class PayMode implements java.io.Serializable {

	public final static Integer PAY_MODE_DEFAULT = 1;
	
	// Fields

	private Integer payModeId;
	private String payModeName;

	// Constructors

	/** default constructor */
	public PayMode() {
	}
	
	public PayMode(Integer payModeId) {
		this.payModeId = payModeId;
	}

	/** minimal constructor */
	public PayMode(String payModeName) {
		this.payModeName = payModeName;
	}


	// Property accessors

	public Integer getPayModeId() {
		return this.payModeId;
	}

	public void setPayModeId(Integer payModeId) {
		this.payModeId = payModeId;
	}

	public String getPayModeName() {
		return this.payModeName;
	}

	public void setPayModeName(String payModeName) {
		this.payModeName = payModeName;
	}

	@Override
	public String toString() {
		return "PayMode [payModeId=" + payModeId + ", payModeName="
				+ payModeName + "]";
	}
}